package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Name        string  `gorm:"type:varchar(30)"`
	Price       float64 `gorm:"type:decimal(10,2)"`
	Description string  `gorm:"type:varchar(30)"`
	ClassId     int     `gorm:"type:int(30)"`
}

type Class struct {
	gorm.Model
	ClassName string `gorm:"type:varchar(30)"`
}
